package com.zzxy.spring12.service.impl;

import com.zzxy.spring12.dao.IStudentDao;
import com.zzxy.spring12.service.IStudentService;

public class StudentServiceImpl  implements IStudentService {
    private IStudentDao studentDao;

    public IStudentDao getStudentDao() {
        return studentDao;
    }
public void setStudentDao(IStudentDao studentDao){
        this.studentDao = studentDao;
}
    @Override
    public void saveStudent() {
studentDao.addStuddent();
    }
}
